package com.rdc.qingkou.dto;


public class ResultDTO {

    private String result;
    private String reason;
    private boolean message;

    public boolean isSuccess() {
        return result.equals("success");
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getReason() {
        if (reason == null) {
            return "";
        }
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public boolean getMessage() {
        return message;
    }

    public void setMessage(boolean message) {
        this.message = message;
    }
}
